import request from '../utils/request';

// export const legalPerson = () => {
//   return request.get('http://localhost:8080/data.json')
// }
export const legalPerson = query => {
  return request.post('/zsrencai/api/sys/admin/company/query/corporation/depot', query)
}

// feat： 首页待办事项 接口拆分
// 1.企业基本信息:
export const basicinfoByname = query => {
  return request.post("/zsrencai/api/sys/admin/company/query/company/basicinfo/byname", query)
}

//2.税务登记设立信息
export const certificationInfo = query => {
  return request.post("/zsrencai/api/sys/admin/company/query/tax/certification/info", query)
}

//3.企业异常名录信息
export const selectQyycmlxx = query => {
  return request.post("/zsrencai/api/sys/admin/company/select/qyycmlxx", query)
}

//4.严重违法失信企业名单
export const selectYzwfsxqymd = query => {
  return request.post("/zsrencai/api/sys/admin/company/select/yzwfsxqymd", query)
}